package com.tjetc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Province {
    @TableId(value = "province_id", type = IdType.AUTO)
    private Long provinceId;
    private String provinceName;
    private List<String> imagePath;
    //java实体类驼峰命名与数据库字段字段下划线 自动映射（得益于map-underscore-to-camel-case: true这个配置）
    private BigDecimal centerLat; // 这里用 BigDecimal
    private BigDecimal centerLng;
    private String provinceCode;
}
